/*
 * @Author: quit
 * @Date: 2021-11-09 16:01:11
 * @LastEditTime: 2022-01-08 09:50:57
 * @Descripttion: VueX 快捷访问
 */
const getters = {
    sidebar: state => state.app.sidebar,
    device: state => state.app.device,
    sidebar_2: state => state.app_2.sidebar,
    device_2: state => state.app_2.device,
    token: state => state.user.token,
    name: state => state.user.userInfo.username,
    userId: state => state.user.userInfo.userId,
    BmRoutes: state => state.router.BmRoutes,
    BotRoutes: state => state.router.BotRoutes,
    BotState: state => state.router.BotState,
    imgBaseURL: state => state.app.imgBaseURL
}
export default getters
